﻿using Magicodes.ExporterAndImporter.Core;
using Newtonsoft.Json;
using OfficeOpenXml.Table;
using System;

using System.Text;

namespace NP.BPMReportPlatform.IU
{
    public class GetOutsourceCheckOutput
    {
        /// <summary>
        /// 流程ID
        /// </summary>
        [ExporterHeader(DisplayName = "单据编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 发起人名称
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string AddUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }

        /// <summary>
        /// 地区
        /// </summary>
        [ExporterHeader(DisplayName = "地区")]
        public string Area { get; set; }

        /// <summary>
        /// 组织
        /// </summary>
        [ExporterHeader(DisplayName = "组织")]
        public string Organization { get; set; }

        /// <summary>
        /// 业务组织
        /// </summary>
        [ExporterHeader(DisplayName = "业务组织")]
        public string BusinessOrg { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        [ExporterHeader(DisplayName = "部门")]
        public string Department { get; set; }

        /// <summary>
        /// IC依赖书编码
        /// </summary>
        [ExporterHeader(DisplayName = "IC依赖书编码")]
        public string ICYLSNo { get; set; }

        /// <summary>
        /// 客户类型
        /// </summary>
        [ExporterHeader(DisplayName = "客户类型")]
        public string CustomerType { get; set; }

        /// <summary>
        /// 委托人
        /// </summary>
        [ExporterHeader(DisplayName = "委托人")]
        public string AssignorName { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        [ExporterHeader(DisplayName = "客户编码")]
        public string CustomerNo { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "客户名称")]
        public string CustomerName { get; set; }

        /// <summary>
        /// 成本中心
        /// </summary>
        [ExporterHeader(DisplayName = "成本中心")]
        public string CostCentre { get; set; }

        /// <summary>
        /// 行业
        /// </summary>
        [ExporterHeader(DisplayName = "成本中心名称")]
        public string CostCentreName { get; set; }

        /// <summary>
        /// 共享中心人员
        /// </summary>
        [ExporterHeader(DisplayName = "共享中心人员")]
        public string GxzxName { get; set; }

        /// <summary>
        /// 大客户经理
        /// </summary>
        [ExporterHeader(DisplayName = "大客户经理")]
        public string DkhjlName { get; set; }

        /// <summary>
        /// 技术经理
        /// </summary>
        [ExporterHeader(DisplayName = "技术经理")]
        public string JsjlName { get; set; }

        /// <summary>
        /// 当前审批人
        /// </summary>
        [ExporterHeader(DisplayName = "当前审批人")]
        public string CurrentApprover { get; set; }

        /// <summary>
        /// 完成日期
        /// </summary>
        [ExporterHeader(DisplayName = "完成日期")]
        public string FinishTime { get; set; }

        /// <summary>
        /// 发票接收人
        /// </summary>
        [ExporterHeader(DisplayName = "发票接收人")]
        public string InvoicepersonName { get; set; }

        /// <summary>
        /// 是否收到发票
        /// </summary>
        [ExporterHeader(DisplayName = "是否收到发票")]
        public string IsReceivedInvoice { get; set; }

        /// <summary>
        /// 是否金额一致
        /// </summary>
        [ExporterHeader(DisplayName = "是否金额一致")]
        public string IsConsistentAmount { get; set; }

        /// <summary>
        /// 是否上传发票
        /// </summary>
        [ExporterHeader(DisplayName = "是否上传发票")]
        public string Isscfp { get; set; }

        /// <summary>
        /// 原因
        /// </summary>
        [ExporterHeader(DisplayName = "原因")]
        public string ScfpReason { get; set; }

        /// <summary>
        /// 是否已报销
        /// </summary>
        [ExporterHeader(DisplayName = "是否已报销")]
        public string Isybx { get; set; }

        /// <summary>
        /// 报销单据号
        /// </summary>
        [ExporterHeader(DisplayName = "报销单据号")]
        public string BxNo { get; set; }

        /// <summary>
        /// 委托机构
        /// </summary>
        [ExporterHeader(DisplayName = "委托机构")]
        public string Institution { get; set; }

        /// <summary>
        /// 样品名称
        /// </summary>
        [ExporterHeader(DisplayName = "样品名称")]
        public string SampleName { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        [ExporterHeader(DisplayName = "物料编码")]
        public string MaterialCode { get; set; }

        /// <summary>
        /// 申请类型
        /// </summary>
        [ExporterHeader(DisplayName = "申请类型")]
        public string ApplyType { get; set; }

        /// <summary>
        /// 产品类型
        /// </summary>
        [ExporterHeader(DisplayName = "产品类型")]
        public string ProductType { get; set; }

        /// <summary>
        /// 参考标准要求
        /// </summary>
        [ExporterHeader(DisplayName = "参考标准要求")]
        public string ReferenceReq { get; set; }

        /// <summary>
        /// 测试项目
        /// </summary>
        [ExporterHeader(DisplayName = "测试项目")]
        public string Project { get; set; }

        /// <summary>
        /// 费用预估（元）
        /// </summary>
        [ExporterHeader(DisplayName = "费用预估（元）")]
        public string CostEstimation { get; set; }

        /// <summary>
        /// 预计报告完成日期
        /// </summary>
        [ExporterHeader(DisplayName = "预计报告完成日期")]
        public string ReportFinishDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [ExporterHeader(DisplayName = "备注")]
        public string Remark { get; set; }

        /// <summary>
        /// 是否指定检测机构
        /// </summary>
        [ExporterHeader(DisplayName = "是否指定检测机构")]
        public string IsInstitution { get; set; }

        /// <summary>
        /// 指定理由
        /// </summary>
        [ExporterHeader(DisplayName = "指定理由")]
        public string AppointReason { get; set; }

        /// <summary>
        /// 指定人
        /// </summary>
        [ExporterHeader(DisplayName = "指定人")]
        public string AppointPerson { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        [ExporterHeader(DisplayName = "附件")]
        public string Attachments { get; set; }

        /// <summary>
        /// 附件id
        /// </summary>
        [ExporterHeader(DisplayName = "附件链接")]
        public string AttachmentsId { get; set; }
    }
}
